
const INITIAL_STATE = {
    safeHeight: 0
}

export default function safeArea(state = INITIAL_STATE, action: any) {
    switch (action.type) {
        case 'SET':
            return {
                ...state,
                safeHeight: action.payLoad
            }
        default:
            return state
    }
}